//
//  ZPickerView.h
//  ArkHealth
//
//  Created by 章翔 on 16/9/13.
//  Copyright © 2016年 xjx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "XGConfig.h"

typedef NS_ENUM(char,EPickerMode) {
    EPickerModeErea,//<地区
    EPickerModeSinger,///<单选
    EPickerModeDate,///<选择预约时间
    EPickerModeSinger1,//单选升级版
    EPickerModeCarDress,//车辆车牌所属地
    EPickerModeHotel,//酒店选时间
};

@interface PickerModel : NSObject
@property(strong,nonatomic)NSString *name;
@property(strong,nonatomic)NSString *pickerId;
@property(assign,nonatomic)int index;
@end

@interface ZPickerView : UIView

+ (void )pickviewWithMode:(EPickerMode)mode dataSource:(NSMutableArray *)dataSource block:(void (^)(NSObject *obj))block;

+ (void)pickviewWithSingerDataSouce:(NSMutableArray<PickerModel *> *)mArrDatas block:(void (^)(PickerModel *pickModel))block;

+ (void)pickviewWithHotelTimeBlock:(void(^)(NSDate *startDate,NSDate *endDate))block;


+ (void)show;

+ (void)dissmiss;

+ (void)pickviewWithProvince:(NSString *)province city:(NSString *)city;
@end

@interface AreaData : NSObject
@property(nonatomic, strong)NSString *areaName;//<
@property(nonatomic, strong)NSString *areaId;//<

@property(nonatomic, strong)NSMutableArray *mArrCitys;//<
@end
